FUNCTION

require_register_account_next_operation

function require_register_account_next_operation()

Verifies that the next operation in the transaction is an operation that can be used to register accounts. Any operation that is whitelisted to be called after evm_signatures is considered valid here.

Throws "MISSING REGISTER ACCOUNT" if:

  • the next operation is not whitelisted
  • this is the last operation in the transaction

Throws if the chromia.yml cannot be parsed for evm_signatures_authorized_operations, e.g. if some elements are not text or there are duplicates.

See Also

  • [core.auth.auth.is_evm_signatures_authorized_operation] — for information on what operations are authorized.
© 2024 Chromia